package com.mxf.code.mapper;

import com.mxf.code.cases.order.MessageRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MessageRecordMapper {
    int deleteByPrimaryKey(Long id);

    int delByMessageId(String messageId);

    int insert(MessageRecord record);

    int insertSelective(MessageRecord record);

    MessageRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MessageRecord record);

    int updateByPrimaryKey(MessageRecord record);


    List<MessageRecord> findAll(int status);

    MessageRecord selectAllByMessageId(String id);

    void updateByMessageId(MessageRecord messageRecord);
}